POV-Ray : Newsgroups : povray.general : hdri cube to lat long : Re: hdri cube to lat long Server Time
5 Aug 2024 06:19:44 EDT (-0400)
  Re: hdri cube to lat long  
From: Jim
Date: 24 Jan 2003 19:50:06
Message: <web.3e31df0b987060fff7d6f5b00@news.povray.org>
Come on guys, do your home work.
   If you go to the HDRShop site; click on the "Board" tab at the top,
 you go to the discussion group. Search back to April and you will find the
following response to someone with the same problem.

-----------------------------------------------------------------------------

Re: can hdrshop make 6 hdr images to 1 cross?
--------------------------------------------------------------------------------
 I'm assuming you have 6 square images each with a horizontal and vertical
field of view of 90 degrees. It is possible to put them together in HDR
Shop, though it isn't exactly an easy operation.

The main troublesome part is how to get all the images into the correct
relative positions, without the aid of the handy layer system in
photoshop.. hehe.

First, turn off the 'restrict selection to image' option
(Select->Select Options)

Then turn on the Selection Range window (Select -> Select Window), so you
can type in the selection ranges by hand.

Now you load up the 6 images, rotate them appropriately,
select the rectangle around each image that represents their position in the
finished image, and crop to that region. Then you can composite them
together by adding
(Image->Calculate can add 4 images at once, repeat on
the result to add more)

For example, lets say your images are 256x256.
Lets do the image that's looking upwards.
With the select range window, type in a selection range:
Left: -256
Top: 0
Width: 768
Height: 1024
Then crop the image (Image->Crop). This gives you an
image with the upward-looking square in the correct position.

Then for the image looking left, do the same except select:
Left: 0
Top: -256
Width: 768
Height: 1024

Then for the forward looking image:
Left: -256
Top: -256
Width: 768
Height: 1024

etc.

-----------------------


On the other hand, I'm sure it would be a fairly simple to create a plugin
to do that automatically given 6 images. Let me know if this would help out
alot.

Chris
-------------------------------------------------------------------------------

                                           Good luck,
                                           Jim Julian


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.